#ifndef PLAYERRADIO_H
#define PLAYERRADIO_H

#include <QWidget>
#include <QCheckBox>
#include <QString>
#include "player.h"

class PlayerRadio : public QCheckBox
{
    Q_OBJECT
public:
    explicit PlayerRadio(QWidget *parent = 0);

public:
    void setName(QString);
    void setLast(QString);
    void setJersy(int);
    void setU_id(int);

    QString getName();
    QString getLast();
    int getJersy();
    int getU_id();
    void setPlayer(Player*);
    Player* getPlayer();

signals:

public slots:

private:

   QString first_name;
   QString last_name;
   int jersy;
   int u_id;
   Player * p;


};

#endif // PLAYERRADIO_H
